﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GHRMS.MODEL
{
    [Serializable]
    public class HisNameInfo : RecordInfo
    {
        private int name_his_seq;
        private string changed_ref_no;
        private string old_name;
        private string old_last_name;
        private string new_name;
        private string new_last_name;
        private EmployeeInfo emp_seq;
        private Nullable<DateTime> changed_date;
        private MasNamePrefixInfo old_prefix_seq;
        private MasNamePrefixInfo new_prefix_seq;

        public HisNameInfo()
        { 
        }
        public HisNameInfo(int Sequence)
        {
            this.Sequence = Sequence;
        }
        public HisNameInfo(int Sequence, Nullable<DateTime> ChangeDate, string ChangeRefNo, string OldName
            , string OldLastName, string NewName, string NewLastName, EmployeeInfo Employee
            , MasNamePrefixInfo OldPrefixes, MasNamePrefixInfo NewPrefixes, string Remarks
            , string RecordStatus, Nullable<int> CreatedBy, Nullable<int> UpdatedBy)
        {
            this.Sequence = Sequence;
            this.ChangeDate = ChangeDate;
            this.ChangeRefNo = ChangeRefNo;
            this.OldName = OldName;
            this.OldLastName = OldLastName;
            this.NewName = NewName;
            this.NewLastName = NewLastName;
            this.Employee = Employee;
            this.OldPrefixes = OldPrefixes;
            this.NewPrefixes = NewPrefixes;
            this.Remarks = Remarks;
            this.RecordStatus = RecordStatus;
            this.CreatedBy = CreatedBy;
            this.UpdatedBy = UpdatedBy;
        }
        public int Sequence
        {
            get { return name_his_seq; }
            set { name_his_seq = value; }
        }
        public string ChangeRefNo
        {
            get { return changed_ref_no; }
            set { changed_ref_no = value; }
        }
        public string OldName
        {
            get { return old_name; }
            set { old_name = value; }
        }
        public string OldLastName
        {
            get { return old_last_name; }
            set { old_last_name = value; }
        }
        public string NewName
        {
            get { return new_name; }
            set { new_name = value; }
        }
        public string NewLastName
        {
            get { return new_last_name; }
            set { new_last_name = value; }
        }
        public EmployeeInfo Employee
        {
            get { return emp_seq; }
            set { emp_seq = value; }
        }
        public Nullable<DateTime> ChangeDate
        {
            get { return changed_date; }
            set { changed_date = value; }
        }
        public MasNamePrefixInfo OldPrefixes
        {
            get { return old_prefix_seq; }
            set { old_prefix_seq = value; }
        }
        public MasNamePrefixInfo NewPrefixes
        {
            get { return new_prefix_seq; }
            set { new_prefix_seq = value; }
        }
    }
}
